package main;

public class TresholdNeuron extends Neuron{

	@Override
	public double getValue() {
		double net = getNet();
		if (net > 0) return 1;
		else return 0;
	}

	@Override
	public Neuron createInstance() {
		return new TresholdNeuron();
	}

}
